package com.ruoyi.wx.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
public class SendTemplateVo {
    // 用户OpenId列表
    private String touser;
    // 模板ID
    private String template_id;
    // 跳转路径
    private String url;
    // 小程序
//    private Miniprogram miniprogram;
    // 数据
    private DataK data;

    @Data
    public static class Miniprogram {
        private String appid;
        private String pagepath;
    }

    @Data
    public static class DataK {
        private DataV first;
        private DataV keyword1;
        private DataV keyword2;
        private DataV keyword3;
        private DataV keyword4;
        private DataV keyword5;
        private DataV remark;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class DataV {
        private String value;
        private String color;
    }
}
